﻿@model Bids.Core.DomainObjects.SinglePage

@{
    ViewBag.Title = "Edit";
    Layout = "~/Areas/Admin/Views/Shared/_LayoutAdmin.cshtml";
}


@section head{
    <script src="@Url.Content("~/js/kindeditor/kindeditor.js")" type="text/javascript"></script>
    <script type="text/javascript">
        var editor;
        var editor1;
        KindEditor.ready(function (K) {
            editor = K.create('#content', {
                uploadJson: '@Url.Action("UploadImage","Upload",new { id="news" })',
                fileManagerJson: '@Url.Action("UploadFile","Upload")',
                allowFileManager: true
            });
            editor1 = K.create('#ENContent', {
                uploadJson: '@Url.Action("UploadImage","Upload",new { id="news" })',
                fileManagerJson: '@Url.Action("UploadFile","Upload")',
                allowFileManager: true
            });
        });
    </script>
}

    <div class="mytopmodel" >
        编缉模块：&nbsp;&nbsp;
    </div>

    <form method="post" id="myform" name="myform" action="@Url.Action("Edit")">
        <div class="maindiv">
            <table cellspacing="1" id="editTable" cellpadding="3" style=" ">
                
                
                
                <tr>
                    <td class="text">标题：</td>
                    <td class="control"><input type="text" name="Title" value="@Model.Title" ></input> </td>
                </tr>


               


              
                <tr>
                    <td class="text" >内容：</td>
                    <td colspan="2" class="control">
                        
                        <textarea name="content" id="content" cols="80" rows="20" class="webtextarea" >@Model.Content</textarea>                    </td>
                </tr>

                
                
                
                

               <tr>
                    <td class="text" ></td>
                    <td colspan="2" class="control">
                       <input name="imgpath" id="imgpath" type="hidden" value="" />
                       <div class="impBtn hMargin fLeft shadow" ><input type="submit" value="提交" onclick="" class="save imgButton"></div>
                       <div class="impBtn hMargin fLeft shadow" ><input type="reset" value="清空" onclick="" class="reset imgButton"></div>
                       
                       <a href="javascript:history.back(-1)" >[&nbsp;返回&nbsp;] </a>                   </td>
                </tr>
            </table>
            
         
        </div>
        </form>